package com.foreknow.elm.dao;

import com.foreknow.elm.po.Orderdetailet;

import java.util.List;

public interface OrderdetailetDao {
    /**
     * 批量添加数据到订单明细表
     * @param list
     * @return
     */
    int saveOrderdetailet(List<Orderdetailet> list) throws Exception;

    /**
     * 根据订单编号查询此订单的所有订单明细信息
     * @param orderId
     * @return
     * @throws Exception
     */
    List<Orderdetailet> getOrderdetailet(int orderId) throws Exception;
}
